package com.study.happystudy.mapper;

import com.study.happystudy.po.PsyTestRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface PsyTestRecordMapper {
    void insert(int userId,int score,String result,String analysis,String advice,String chickenSoup);
    List<PsyTestRecord> selectByUserId(int userId);
    int getHealthyCount(int userId);
    int getMildCount(int userId);
    int getModerateCount(int userId);
    int getSevereCount(int userId);
}
